package com.ddf.publics.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (UserCoupon)实体类
 *
 * @author makejava
 * @since 2020-06-22 09:03:57
 */
public class UserCoupon implements Serializable {
    private static final long serialVersionUID = 891817630706561469L;
    
    private Integer id;
    /**
    * 用户id
    */
    private Integer userId;
    /**
    * 优惠券id
    */
    private Integer couponId;
    /**
    * 过期时间
    */
    private Date expirationDate;
    /**
    * 兑换时间
    */
    private Date exchangeTime;
    /**
    * 我的优惠券状态（1、未使用，2、已使用，3、已过期）
    */
    private Integer couponState;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public Date getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(Date expirationDate) {
        this.expirationDate = expirationDate;
    }

    public Date getExchangeTime() {
        return exchangeTime;
    }

    public void setExchangeTime(Date exchangeTime) {
        this.exchangeTime = exchangeTime;
    }

    public Integer getCouponState() {
        return couponState;
    }

    public void setCouponState(Integer couponState) {
        this.couponState = couponState;
    }

}